package wqlspringboot.springbootcrud.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author wql
 * @version 1.0
 * @date 2022/11/17 20:09
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户对象")
public class User {
    @ApiModelProperty(value = "编号",required = true)
    private Integer id;
    @ApiModelProperty(value = "姓名",required = true)
    private String username;
    @ApiModelProperty(value = "密码",required = true)
    private String password;
    @ApiModelProperty(value = "真实姓名",required = true)
    private String realname;

}
